package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    PageInfo query(QueryObject qo);
    void save(Permission permission);
    void delete(Long id);
    Permission get(Long id);
    List<Permission> list();
    void reload();
    List<String> queryExpressionsByEmployeeId(Long employeeId);

    List<String> selectAllPermissions();
}
